package com.greenold.wechatpay.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author YueYang
 * Created on 2025/10/22 14:44
 * @version 1.0
 */
public class Order {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 业务订单号
     */
    private String bizOrderNo;

    /**
     * 交易订单号
     */
    private String tradeOrderNo;

    /**
     * 支付状态
     */
    private Integer payStatus;

    /**
     * 订单金额
     */
    private java.math.BigDecimal amount;

    /**
     * 退款金额
     */
    private java.math.BigDecimal refundAmount;

    /**
     * 是否已退款
     */
    private Boolean hasRefund;

    /**
     * 客户ID
     */
    private Long customerId;

    /**
     * 服务项目ID
     */
    private Long serviceItemId;

    /**
     * 服务老人ID
     */
    private Long serviceElderId;

    /**
     * 预期服务时间
     */
    private java.util.Date expectedServiceTime;

    /**
     * 取消原因
     */
    private String cancelReason;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    /**
     * 创建时间
     */
    private java.util.Date createdAt;

    /**
     * 更新时间
     */
    private java.util.Date updatedAt;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 是否可见
     */
    private Boolean visible;

    /**
     * 取消类型
     */
    private Integer cancelByType;

    /**
     * 备注
     */
    private String remark;

    /**
     * 扩展字段1
     */
    private String extend1;

    /**
     * 扩展字段2
     */
    private String extend2;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBizOrderNo() {
        return bizOrderNo;
    }

    public void setBizOrderNo(String bizOrderNo) {
        this.bizOrderNo = bizOrderNo;
    }

    public String getTradeOrderNo() {
        return tradeOrderNo;
    }

    public void setTradeOrderNo(String tradeOrderNo) {
        this.tradeOrderNo = tradeOrderNo;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Boolean getHasRefund() {
        return hasRefund;
    }

    public void setHasRefund(Boolean hasRefund) {
        this.hasRefund = hasRefund;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getServiceItemId() {
        return serviceItemId;
    }

    public void setServiceItemId(Long serviceItemId) {
        this.serviceItemId = serviceItemId;
    }

    public Long getServiceElderId() {
        return serviceElderId;
    }

    public void setServiceElderId(Long serviceElderId) {
        this.serviceElderId = serviceElderId;
    }

    public Date getExpectedServiceTime() {
        return expectedServiceTime;
    }

    public void setExpectedServiceTime(Date expectedServiceTime) {
        this.expectedServiceTime = expectedServiceTime;
    }

    public String getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Boolean getVisible() {
        return visible;
    }

    public void setVisible(Boolean visible) {
        this.visible = visible;
    }

    public Integer getCancelByType() {
        return cancelByType;
    }

    public void setCancelByType(Integer cancelByType) {
        this.cancelByType = cancelByType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExtend1() {
        return extend1;
    }

    public void setExtend1(String extend1) {
        this.extend1 = extend1;
    }

    public String getExtend2() {
        return extend2;
    }

    public void setExtend2(String extend2) {
        this.extend2 = extend2;
    }
}
